<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <h1>商品详情页</h1>
  <ul>
      <li>商品名称：{{goods.0.name}}</li>
      <li>商品图片：<img src="{{goods.0.imgscr}}" width="50"></li>
      <li>商品名称：{{goods.0.price}}</li>
      <li>商品名称：{{goods.0.count}}</li>
      <li>
          <form action="/goodinfo/" method="POST">
              <input type="text" name="gid" value="{{goods.0.gid}}" hidden>
              <input type="submit" value="加入购物车">
          </form>
<!--          <a href="/goodinfo/?car_gid={{goods.0.gid}}">加入购物车</a>-->
      </li>
  </ul>
</body>
</html>